package puyu.manage.service.source.dao;


import org.apache.ibatis.annotations.Param;
import puyu.manage.service.source.entity.SysTSourceList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import puyu.manage.service.utils.tree.Zone;

import java.util.List;
import java.util.Map;

/**
 * 字典子表(SysTSourceList)表数据库访问层
 *
 * @author makejava
 * @since 2024-08-01 16:41:23
 */
public interface SysTSourceListMapper extends BaseMapper<SysTSourceList>{

    List<SysTSourceList> selectAll(SysTSourceList sysTSourceList);

    /**
     * 通过主表编码查询子表
     **/
    List<Map<String, Object>> getBySourceCode(@Param("datas")Map<String,Object> sourceList);

    /**
     * 子表新增
     **/
    void insertSourceList(@Param("datas")Map<String,Object> sourceList);

    /**
     * 子表修改
     **/
    void updateSourceList(@Param("datas")Map<String,Object> sourceList);

}

